><

Attaching actions to a rollover



The Actions palette lets you attach scripted actions to the button image--for example, an action that changes the background color of the page.

Note: Make sure that all button images on a page have a unique name (button1, button2, etc.). Names that contain only numbers (1, 2, 3, etc.) or that start with a number won't work in all browsers. Also, names may not contain spaces or special characters.

To attach an action triggered by a mouse or key event:

1 In the Actions palette, choose a mouse or key event from the list box to the left:

  • Select Mouse Click to have a single mouse click trigger the action.
  • Select Mouse Enter to have the action triggered when the mouse pointer moves over the button.
  • Select Mouse Exit to have the action triggered when the mouse pointer moves off the button.

  • 2 Click the + button to add an action to the Actions list box.

    3 Choose an action from the Action menu and edit the action options. For information on the actions that Adobe GoLive supports, see Using Adobe GoLive actions.

    4 Launch a 4.0 or later browser to preview the action. (The 3.0 browsers support some actions. Browser compatibility information appears next to the name of each action; however, results may vary and you should always preview your actions in your browsers of choice.)


    Adding Interactivity > Creating mouse rollovers > Attaching actions to a rollover